package com.hjy.auth.feign;

import com.hjy.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("gulimall-third-part")
public interface ThirdPartFeignService {

    @RequestMapping("/sms/sendCode")
    public R sendCode(@RequestParam("phone") String phone);
}
